# apps/core/serializers.py
from rest_framework import serializers

class IdListSerializer(serializers.Serializer):
    ids = serializers.ListField(
        child=serializers.IntegerField(),
        allow_empty=False,
        help_text="ID 列表"
    )

class BulkDeleteSerializer(serializers.Serializer):
    confirm = serializers.BooleanField(default=False, help_text="确认删除")